package com.wanmao.test;

import android.content.Intent;
import android.os.Bundle;

import nari.mip.core.AppEntryActivity;
import nari.mip.core.Platform;

public class LoginActivity extends AppEntryActivity {

	@Override
	protected void preOnReady() {// 初始化之前调用的方法

		Platform.getCurrent().setPlatformContext(getApplicationContext());//必须设置
	}

	@Override
	protected void onReady(Bundle arg0) {// 用户登录成功后回调此方法

					startActivity(new Intent(LoginActivity.this, MainActivity.class));

					finish();



	}

}
